package cc.comac.mom.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@TableName("quality_asr_check_form")
@Data
@EqualsAndHashCode(callSuper=true)
public class QualityAsrCheckFormEntity extends BaseResultEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@TableField("asr_from_id")
	@TableId(value = "asr_from_id",type = IdType.INPUT)
	private long id;
	private String asrNumber;
	private String qarNumber;
	private String partNumber;
	private String productModel;
	private String partType;
	private String formType;
	private String status;
	private String foPoNumber;
	private String packingNumber;
	private String supplierWorkshop;
	private String planRemark;
	private String checkRemark;
	@TableField(strategy = FieldStrategy.NOT_EMPTY)
	private String qualityPlan;
	@TableField(exist = false)
	private String code;
	@TableField(strategy = FieldStrategy.NOT_EMPTY)
	private String qualityCheck;
	private String toFile;
	@TableField(strategy = FieldStrategy.NOT_EMPTY)
	private String qualityPlanUser;
	@TableField(strategy = FieldStrategy.NOT_EMPTY)
	private String qualityCheckUser;
	private String toFileUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@TableField(strategy = FieldStrategy.NOT_NULL)
	private Date qualityPlanTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@TableField(strategy = FieldStrategy.NOT_NULL)
	private Date qualityCheckTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date toFileTime;
	private String field01;
	private String field02;
	private String field03;
	private String field04;
	private String freeze;
}
